package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum CreditCardEnum implements IBaseEnum<Integer> {

    /**
     * 信用卡 0.无要求 1.有信用卡 2.无信用卡
     */
    NO_REQUIRED(0, "无要求",false),
    HAVE(1, "有信用卡",true),
    NO(2, "无信用卡",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;

    CreditCardEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
